package com.rafahead.bloquinho.util;

public class Utils {

	
	public static int booleanToInteger(boolean bool){
		if (bool)
			return 1;
		return 0;//false
	}
	
	public static boolean integerToBoolean(Integer value){
		if (value!=null && value==1)
			return true;
		return false;
	}
}
